<button id="btn-sign-out" type="submit" class="btn btn-default sign-out">注销</button>
<div>
    <table class="sub-menu-group">
        <tr>
            <td>
                <a href="/hyfw/hyxx" class="text-center" style="background-image:url(/themes/{{siteInfo.theme}}/assets/img/btn_active.png);">
                    <p>会员信息</p>
                </a>
            </td>
            <td>
                <a href="/hyfw/hdyg" class="text-center" style="background-image:url(/themes/{{siteInfo.theme}}/assets/img/btn.png);">
                    <p>活动预告</p>
                </a>
            </td>
            <td>
                <a href="/hyfw/fwtx" class="text-center" style="background-image:url(/themes/{{siteInfo.theme}}/assets/img/btn.png);">
                    <p>服务体系</p>
                </a>
            </td>
        </tr>
    </table>
</div>
<table class="title">
    <tr>
        <td colspan="3" style="text-align:center">
            <h1 style="margin:0px"><small>MEMBER INFORMATION</small></h1>
        </td>
    </tr>
    <tr>
        <td><img src="/themes/{{siteInfo.theme}}/assets/img/line_left.png" alt=""></td>
        <td class="text">
            <h2>会员信息</h2>
        </td>
        <td><img src="/themes/{{siteInfo.theme}}/assets/img/line_right.png" alt=""></td>
    </tr>
</table>
<div class="container">
    <div class="row">
        <div class="col-sm-2 text-center">
            <img src="/themes/{{siteInfo.theme}}/assets/img/img_head.png" alt="">
            <ul class="list-unstyled text-left">
                <li>
                    <img style="width:16px;height16px;" src="/themes/{{siteInfo.theme}}/assets/img/ic_account.png" alt="">账号：js0000
                </li>
                <li>
                    <img style="width:16px;height16px;" src="/themes/{{siteInfo.theme}}/assets/img/ic_money.png" alt="">余额：0元
                </li>
                <li>
                    <img style="width:16px;height16px;" src="/themes/{{siteInfo.theme}}/assets/img/ic_score.png" alt="">积分：300
                </li>
            </ul>
        </div>
        {{#foreach order}}
        <div class="col-sm-10">
            <img style="width:100%;margin-bottom:5px;" src="/themes/{{siteInfo.theme}}/assets/img/img_header.png" alt="">
            <div style="width:100%;height:1px;background-color:#ccc"></div>
            <p class="pull-left" style="line-height:30px">订单号：00000000010</p>
            <p class="pull-right" style="line-height:30px">订单时间：06-01 18:01</p>
            <div style="width:100%;height:1px;background-color:#ccc;margin-top:30px;"></div>
            <div style="clear:left">
                <table style="width:100%">
                    <tr>
                        <td style="width:96px;">
                            <img src="/themes/{{siteInfo.theme}}/assets/img/img_head.png" alt="">
                        </td>
                        <td>
                            <p>丽晶花园三期</p>
                            <p>两室一厅 简欧 118平方米</p>
                        </td>
                        <td>
                            <span class="glyphicon glyphicon-chevron-right"></span>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="width:100%;height:1px;background-color:#ccc"></div>
            <p class="pull-left" style="line-height:30px">总额：<span style="color:red">300元</span></p>
            <p class="pull-right" style="line-height:30px">已关闭</p>
            <div style="width:100%;height:1px;background-color:#ccc;margin-top:30px;"></div>
        </div>
        {{/foreach}}
    </div>
</div>
<script>
    $(document).ready(function () {
        $("#btn-sign-out").click(function () {
            $.ajax({
                type: 'PUT',
                url: "/api/account/sign-out",
                complete:function()
                {
                    window.location = "/hyfw/hydl";
                }
            });
        });
    });

</script>